#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Termstructures;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Indexes
{
     // <summary> 
	// ! base class for Inter-Bank-Offered-Rate indexes (e.g. %Libor, etc.)
	// </summary>
    [Guid ("D0E092B7-6278-4bd9-8179-BAE72B922A38"),ComVisible(true)]
	public interface IIborIndex : Cephei.QL.Indexes.IInterestRateIndex
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 QL.Times.BusinessDayConventionEnum BusinessDayConvention {get;}
        
		 Cephei.QL.Indexes.IIborIndex Clone(Cephei.QL.Termstructures.IYieldTermStructure forwarding);
        
		 Boolean EndOfMonth {get;}
        
		 DateTime MaturityDate(DateTime valueDate);
        
		 Cephei.QL.Termstructures.IYieldTermStructure ForwardingTermStructure {get;}
    }

    // <summary> 
	// ! base class for Inter-Bank-Offered-Rate indexes (e.g. %Libor, etc.) Factory
	// </summary>
   	[ComVisible(true)]
    public interface IIborIndex_Factory // : Collection_Factory<IIborIndex, ICell<IIborIndex>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IIborIndex, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIIborIndex&gt</returns>
        IVector<IIborIndex> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IIborIndex, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIIborIndex&gt&gt&gt</returns>
        Generic.ICell<IVector<Generic.ICell<IIborIndex>>> CreateCellVector();
        IVector<IIborIndex> CreateVector(IEnumerable<IIborIndex> source);
        Generic.ICell<IVector<Generic.ICell<IIborIndex>>> CreateCellVector(IEnumerable<Generic.ICell<IIborIndex>> source);
        
	    IIborIndex Create (String familyName, Cephei.QL.Times.IPeriod tenor, UInt32 settlementDays, Cephei.QL.ICurrency currency, Cephei.QL.Times.ICalendar fixingCalendar, QL.Times.BusinessDayConventionEnum convention, Boolean endOfMonth, Cephei.QL.Times.IDayCounter dayCounter, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Termstructures.IYieldTermStructure> h);
    }
}

